#ifndef CText_H
#define CText_H
#define CGraphics_H
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <glog/logging.h>
#include <iostream>
class CText
{
public:
	CText();
	~CText();
	int loadFont(std::string fontPath);
	void draw(sf::RenderWindow &windowToBeDrawed);
	void setText(std::string string);
	void update();
	void setPosition(float x, float y);
private:
	sf::Font textFont;
	sf::Text text;
	sf::Vector2f textPosition;
	sf::Vector2f textScale;
};

#endif //CText_H